package com.vstudy.zx.entity;

import java.io.Serializable;
import java.util.Date;

public class Comments implements Serializable {
    private Long com_id;
    private Article article;
    private Comments com_pre;
    private Date com_time;
    private Integer com_role;
    private Long role_id;

    public Long getCom_id() {
        return com_id;
    }

    public void setCom_id(Long com_id) {
        this.com_id = com_id;
    }

    public Article getArticle() {
        return article;
    }

    public void setArticle(Article article) {
        this.article = article;
    }

    public Comments getCom_pre() {
        return com_pre;
    }

    public void setCom_pre(Comments com_pre) {
        this.com_pre = com_pre;
    }

    public Date getCom_time() {
        return com_time;
    }

    public void setCom_time(Date com_time) {
        this.com_time = com_time;
    }

    public Integer getCom_role() {
        return com_role;
    }

    public void setCom_role(Integer com_role) {
        this.com_role = com_role;
    }

    public Long getRole_id() {
        return role_id;
    }

    public void setRole_id(Long role_id) {
        this.role_id = role_id;
    }

    @Override
    public String toString() {
        return "Comments{" +
                "com_id=" + com_id +
                ", article=" + article +
                ", com_pre=" + com_pre +
                ", com_time=" + com_time +
                ", com_role=" + com_role +
                ", role_id=" + role_id +
                '}';
    }
}
